package constans

import "go-zero-project/common/global"

const UserNoExistError uint32 = 200000

const CaptchaCodeErr uint32 = 200001

const MenuNoExistError uint32 = 200002

const MqSkipLoadErr uint32 = 200003

const CaptchaRedisKeyPrefix = "user:verifyCode:"

const UserDefaultTopic = "user_default_topic"
const UserDelayTopic = "user_delay_topic"
const UserOrderTopic = "user_order_topic"
const UserTransTopic = "user_trans_topic"

func init() {
	global.ErrorMessageMap[UserNoExistError] = "未查询到用户信息"
	global.ErrorMessageMap[CaptchaCodeErr] = "验证码错误"
	global.ErrorMessageMap[MenuNoExistError] = "未查询到菜单信息"
	global.ErrorMessageMap[MqSkipLoadErr] = "Mq初始化异常"
}
